local tuwei = fk.CreateSkill({
  name = "js__tuwei",
})

tuwei:addEffect(fk.EventPhaseStart, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    if player:hasSkill(tuwei.name) and target == player then
      return player.phase == Player.Finish
    end
  end,
  on_use = function (self, event, target, player, data)
    local room = player.room
    room:loseHp(player, 1, tuwei.name)
    if player.dead then return end
    if player.chained then
        room:askToUseVirtualCard(player, {
        name = "thunder__slash",
        skill_name = tuwei.name,
        prompt = "突围：依次视为使用两张雷【杀】(无距离限制)",
        cancelable = true,
        extra_data = {
            bypass_times = true,
            bypass_distances = true,
            extraUse = true,
        },
        })
        room:askToUseVirtualCard(player, {
        name = "thunder__slash",
        skill_name = tuwei.name,
        prompt = "突围：依次视为使用两张雷【杀】(无距离限制)",
        cancelable = true,
        extra_data = {
            bypass_times = true,
            bypass_distances = true,
            extraUse = true,
        },
        })
    else
        room:askToUseVirtualCard(player, {
        name = "thunder__slash",
        skill_name = tuwei.name,
        prompt = "突围：依次视为使用两张雷【杀】",
        cancelable = true,
        extra_data = {
            bypass_times = true,
            extraUse = true,
        },
        })
        room:askToUseVirtualCard(player, {
        name = "thunder__slash",
        skill_name = tuwei.name,
        prompt = "突围：依次视为使用两张雷【杀】",
        cancelable = true,
        extra_data = {
            bypass_times = true,
            extraUse = true,
        },
        })
    end
  end,
})

Fk:loadTranslationTable {
["js__tuwei"] = "突围",
[":js__tuwei"] = "结束阶段，你可以失去1点体力，依次视为使用两张雷【杀】，若你已横置则无距离限制。",
["$js__tuwei1"] = "",
["$js__tuwei2"] = "",
}
return tuwei